home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / src / shell13s.zoo / shell1.3 / man / Makefile.in < prev    next >
Encoding:
Makefile  |  1991-10-17  |  1.6 KB  |  65 lines

  1. # Makefile for GNU shell utilities documentation.
  2. # Do not use this makefile directly, but only from `../Makefile'.
  3. # Copyright (C) 1991 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. SHELL = /bin/sh
  20.  
  21. srcdir = @srcdir@/man
  22. @VPATH@
  23.  
  24. # Files to install on all systems
  25. MANFILES1 = gbasename.1 gdate.1 gdirname.1 genv.1 gexpr.1 ggroups.1 \
  26. gid.1 glogname.1 gpathchk.1 gprintenv.1 gprintf.1 gsleep.1 gtee.1 gtest.1 \
  27. gtty.1 gwhoami.1 gyes.1
  28. # Files to maybe install.
  29. MANFILES2 = gnice.1 gnohup.1 gstty.1 guname.1
  30.  
  31. # Files to install.
  32. MANFILES = $(MANFILES1) @MAN@
  33.  
  34. DISTFILES = Makefile.in $(MANFILES1) $(MANFILES2)
  35.  
  36. all:
  37. .PHONY: all
  38.  
  39. install: all
  40.     for f in $(MANFILES); do \
  41.     if test -f $$f; then src=.; else src=$(srcdir); fi; \
  42.     $(INSTALLDATA) $$src/$$f $(mandir)/`basename $$f 1`$(manext); \
  43.     done
  44. .PHONY: install
  45.  
  46. tags:
  47. .PHONY: tags
  48.  
  49. TAGS:
  50. .PHONY: TAGS
  51.  
  52. clean:
  53. .PHONY: clean
  54.  
  55. distclean: clean
  56.     rm -f Makefile
  57. .PHONY: distclean
  58.  
  59. realclean: distclean
  60. .PHONY: realclean
  61.  
  62. dist:
  63.     ln $(DISTFILES) ../`cat ../.fname`/man
  64. .PHONY: dist
  65.